<?php
class UserArray{
	    private $m_users = array();
       
        public function __construct() {
               
        }
       
        public function add(User $user) {
                $this->m_users[] = $user;
        }
       
        public function get() {
                return $this->m_users;
        }
	
	
}
class User{
	private $userid;
	private $username;
	
	public function __construct($id, $username) {
                $this->userid = $id;
                $this->username = $username;
        }
    public function getId() {
            return $this->userid;
    }
   
    public function getUsername() {
            return $this->username;
    }
	
}
?>